<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	template="/pages/templates/template.xhtml">
	<ui:define name="metadata">
	</ui:define>

	<ui:define name="content">

		<h:form id="form1">

			<h:panelGroup id="Perfis">
				<c:forEach items="#{visualizarPessoasBean.perfis}" var="perfil">
					<p:commandLink value="#{perfil.nome}" action="visualizarPerfil">
						<f:setPropertyActionListener
							target="#{visualizarPessoasBean.nome}" value="#{perfil.nome}" />
					</p:commandLink>
					<br />
				</c:forEach>
			</h:panelGroup>
			<br />

		</h:form>
	</ui:define>

</ui:composition>